#ifndef DOCCLIENT_H
#define DOCCLIENT_H
#include <QtGui>
#include "notes.h"
#include "propeties.h"
#include "SQL/qxsqlclass.h"

namespace Ui {
    class DocClient;
}

class DocClient : public QMainWindow
{
    Q_OBJECT

public:
    explicit DocClient(QWidget *parent = 0);
    ~DocClient();
private://Variables
    notes *doc_notes;
    QGridLayout *doc_notes_grid;
    Propeties *doc_properties;
    int *doc_config;
    int *doc_errors;
    QxSqlClass *doc_sql;
private://Methods
    void SetDefaultConfig();
    bool TestConfig(); //Returns true if pass all tests
private slots:
    void Test();
    void doc_OnPreferences();
    void doc_OnExit();
    void doc_OnAbout();
    void doc_OnAbout_Qt();
    void doc_OnReload();
    //On Form Load
    void doc_OnLoad();
    //On Form Close
    void doc_OnClose();
private:
    Ui::DocClient *ui;
};

#endif // DOCCLIENT_H
